function studentTest(){
    var tom = new Student('Tom' , 21 , 2);
    var expectResult = 'My name is Tom. I am 21 years old. I am a Student. I am at Class 2.';
    (expectResult === tom.introduce()) ? console.log('studentTest passed!') : console.log('studentTest failed!');
}
studentTest();